<?php if (!defined('BASEPATH')) die();
class Frontpage extends Main_Controller {

   public function index()
	{				
		
      $this->load->view('include/header');
      $this->load->model('noticiamodel');
      $this->noticiamodel->atualizar_publicidade();
      $this->load->view('include/footer');
	}
	
	public function next($valor, $pagina)
	{	
			
		$this->load->view('include/header');
		$this->load->model('noticiamodel');
      	$this->noticiamodel->atualizar_next($valor, $pagina);
		$this->load->view('include/footer');
	}
	
	public function previous($valor, $confer, $pagina)
	{		
		$this->load->view('include/header');
		$this->load->model('noticiamodel');
      	$this->noticiamodel->atualizar_previous($valor, $confer, $pagina);
		$this->load->view('include/footer');
		
		
	}
	
	public function video()
	{		
		$this->load->view('include/header');
      	$this->load->view('video');
      	$this->load->view('include/footer');
	}
   
}

/* End of file frontpage.php */
/* Location: ./application/controllers/frontpage.php */
